#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------
# -- This's Post Form
# -- 
# ****************************
# Author: lmay.Zhou
# Blog: www.lmaye.com
# Date: 2018年3月1日 11:48:32
# ----------------------------------------------------------
from flask_wtf import FlaskForm as Form
from wtforms import StringField
from wtforms.validators import DataRequired


class PostForm(Form):
    """
        Post Form

        :Author: lmay.Zhou
        :Date: 2018年3月1日 11:52:34
    """
    post = StringField("post", validators=[DataRequired()])


class SearchForm(Form):
    """
        Search Form

        :Author: lmay.Zhou
        :Date: 2018年3月1日 16:03:45
    """
    search = StringField("search", validators=[DataRequired()])
